﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="JL.LiveAtEdu.Portal.Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Header" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Main" runat="server">
    <table style="width: 100%">
        <tr>
            <td colspan="2">
                <strong>Login Credentials</strong>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <br />
            </td>
        </tr>
        <tr>
            <td align="left">
                <asp:Label ID="LblUserName" runat="server" Text="User Name:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtUserName" Width="200px" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="left">
                <asp:Label ID="LblPassword" runat="server" Text="Password:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtPassword" Width="200px" TextMode="Password" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td align="left">
                <asp:Label ID="LblMaxNumber" runat="server" Text="Max. Messages:"></asp:Label>
            </td>
            <td>
                <asp:TextBox ID="TxtMaxNumber" Width="200px" Text="100" runat="server"></asp:TextBox>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <br />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en%2cen&id=13480">
                    A - You will need the Excange Web Services API on your Server, click to download</a>
                <br />
                <a href="http://msdn.microsoft.com/en-us/library/kd3cf2ex.aspx">B - Autodiscocery Errors
                    Add a Proxy in Web.Config, click for procedures</a>
                <br />
                <br />
                <img alt="Office 365" src="Images/logo-office-365.png" />
                <br />
                <strong>In order to connect to Office 365 you will need a Education or Enterprise Plan</strong>
                <br />
                <br />
                <strong>I'am improving speed, stay tune!</strong>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <br />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:LinkButton ID="LinkButtonGo" runat="server" OnClick="LinkButtonGo_OnClick">GO GET MY MESSAGES</asp:LinkButton>
                &nbsp>
                <asp:LinkButton ID="LinkButtonCount" runat="server" OnClick="LinkButtonCount_OnClick">GO COUNT MY MESSAGES</asp:LinkButton>
            </td>
        </tr>
    </table>
    <br />
    <table style="width: 100%">
        <asp:Literal ID="LitCount" runat="server"></asp:Literal>
        <tr>
            <td>
                <asp:GridView ID="GridMain" Font-Size="Smaller" AutoGenerateColumns="false" GridLines="None"
                    runat="server">
                    <Columns>
                        <asp:BoundField DataField="Subject" HeaderText="Subject" />
                        <asp:BoundField DataField="DateReceived" HeaderText="Received" />
                        <asp:BoundField DataField="SentByAddress" HeaderText="Sent By" />
                    </Columns>
                </asp:GridView>
            </td>
        </tr>
    </table>
</asp:Content>
